<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">

    <title>@isset($seo) {{$seo['title']}} @else LaravelWechat @endisset</title>
    @stack('morecss')
</head>
<body>
<div id="app">
    @yield('content')
</div>

<!-- Mainly scripts -->
<script src="{{ mix('js/manifest.js') }}"></script>
<script src="{{ mix('js/vendor.js') }}"></script>
@isset($wxConfig)
    <!--微信js-sdk-->
    <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" charset="utf-8">
        wx.config({!! $wxConfig !!});
        wx.ready(function(){
            @stack('morewxjs')
        });
    </script>
@endisset

@stack('morescript')
</body>
</html>